package com.guoyh.baserepos.entity.wmodel

import com.guoyh.baseutils.entity.common.BaseBannerBean


/**
 * @CreateDate: 7/15/21 1:40 PM
 * @Author: guoyh
 * @Description: 文章List
 */
data class ArticleBean(
    var apkLink: String = "",
    var audit: Int = 0,
    var author: String = "",
    var canEdit: Boolean = false,
    var chapterId: Int = 0,
    var chapterName: String = "",
    var collect: Boolean = false,
    var courseId: Int = 0,
    var desc: String = "",
    var descMd: String = "",
    var envelopePic: String = "",
    var fresh: Boolean = false,
    var host: String = "",
    var id: Int = 0,
    var link: String = "",
    var niceDate: String = "",
    var niceShareDate: String = "",
    var origin: String = "",
    var prefix: String = "",
    var projectLink: String = "",
    var publishTime: Long = 0,
    var realSuperChapterId: Int = 0,
    var selfVisible: Int = 0,
    var shareDate: Long = 0,
    var shareUser: String = "",
    var superChapterId: Int = 0,
    var superChapterName: String = "",
    var tags: MutableList<TabBen> = mutableListOf(),
    var title: String = "",
    var type: Int = 0,
    var userId: Int = 0,
    var visible: Int = 0,
    var zan: Int = 0
)



data class TabBen(
    val name:String = "",
    val url:String = ""
)


data class BannerBean(
    var desc: String = "",
    var id: Int = 0,
    var imagePath: String = "",
    var isVisible: Int = 0,
    var order: Int = 0,
    var title: String = "",
    var type: Int = 0,
    var url: String = ""
) : BaseBannerBean<BannerBean>() {

    override fun getData() = this

    override fun getBannerType() = 0

    override fun getBannerPath() = imagePath

}
